package com.pioneer.mapper;

import com.pioneer.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface UserMapper {

    @Select("select * from user where id = #{id}")
    User get(@Param("id") int id);
//    void delete();
//    void update();
//    void insert();
}
